<%--
    Document   : update fragment for task
    Created on : Mar 10, 2014, 10:54:45 PM
    Author     : Anton Strack
--%>
<div class="csd_content_form">
    <form method="POST" action="${config.getPath()}">
        <div class="form-group">
            <label class="form-control" for="name">Name:</label>
            <input class="form-control" id="name" name="name" autofocus="" required="" type="text" value="${bean.name}"><br />
            <label class="form-control" for="message">Message:</label>
            <p>Write any message that recipients of the notification should see besides what event occurred.</p>
            <textarea class="form-control" id="message" name="message" required="" rows="5">${bean.message}</textarea><br />
            <label class="form-control" for="includeCurrentUser">Include my actions</label>
            <p>Check this box if you wish to be notified when you preform an action that matches this template.</p>
            <input class="form-control" type="checkbox" name="includeCurrentUser" id="includeCurrentUser" value="true" <c:if test="${bean.isIncludeCurrentUser() == true}">checked </c:if>/>
            <br />
        </div>
        <button class="btn btn-primary" type="submit" name="formSubmit" id="formSubmit" value="update-notificationtemplate">Save ${bean.name}</button>
    </form>
</div>
